<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html">
<body>


<ui:composition template="templates/template.xhtml">

	<ui:define name="title">
    Web Client :: Forgot Password
  </ui:define>

	<ui:define name="header">
    Web Client :: Forgot Password
    <div class="loginHeader"><h:form>
			<h:commandLink value="LogIn" action="#{clientPage.gotoLoginPage}"
				styleClass="subHeader2" />
		</h:form></div>
	</ui:define>

	<ui:define name="menu" >
	<div align="center">	 
		<h:form id="mennuForm" >
		 	<br />
		 	<br />
		 	<h:commandButton value="Back" action="back" styleClass="buttonClass" />
			<br/>
			<br/>
		</h:form>	
	</div>		
	</ui:define>

	<ui:define name="body">
		<h:form id="forgotPasswordForm">
			<h:message for="forgotPasswordForm" class="error" />
			<h:message for="userId" class="error" />
			<br />
				<br />
<div class="grayBox">
			<p class="informationBox"><b>Help! I forgot my UserId and Password... </b>
			<br />
				<br />
				Its ok! Simply enter your username below and a new password will
				be sent to you via email. If you have forgotten your username you
				can retrieve it <h:commandLink value="here"
					action="#{clientPage.forgotUserId}" immediate="true" />.</p>
					</div>
					
			
			
			<br />
			<br />


			<br />


			<label> Username:</label>
			<h:inputText id="userId" value="#{clientPage.username}"  required="true"/>

			<br />
			<br />
			<h:commandButton value="Send it to me"
				action="#{clientPage.sendUserPasswordByMail}" />
		</h:form>
	</ui:define>


</ui:composition>

</body>
</html>
